package net.fltx.taskmgr.entity;


import com.sun.javafx.fxml.builder.JavaFXImageBuilder;

import java.awt.*;
import java.awt.image.*;

/**
 * 进程图标
 */
public class ProcessIconEntity {
    private String processPath;
    private Image icon;

    public String getProcessPath() {
        return processPath;
    }

    public void setProcessPath(String processPath) {
        this.processPath = processPath;
    }

    public Image getIcon() {
        return icon;
    }

    public void setIcon(Image icon) {
        this.icon = icon;
    }

    @Override
    public String toString() {
        BufferedImage bi=new BufferedImage(60,60,BufferedImage.TYPE_4BYTE_ABGR);
        DataBuffer dataBuffer =new DataBufferByte(new byte[60*60*4],0*60*4);



        return "ProcessIconEntity{" +
                "processPath='" + processPath + '\'' +
                ", icon=" + icon +
                '}';
    }
}
